package com.example.demo.dto

import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotBlank

data class LoginDo(

        @get: NotBlank(message = "用户名不能为空")
        @ApiModelProperty(value = "username")
        val username: String,

        @get: NotBlank(message = "密码不能为空")
        @ApiModelProperty(value = "password")
        val password: String
)
